﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masterpage/LoginSite.Master" AutoEventWireup="true" CodeBehind="ShopLocation.aspx.cs" Inherits="ShopLocation" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:HiddenField ID="hdnShopID" runat="server" />
 <table width="100%" border="0" cellpadding="0" cellspacing="0">
 <tr>
    <td align="center">
<table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td colspan="2" align="left">
            ข้อมูลสาขาที่ทำโปรโมชั่น
            </td>
        </tr>
        <tr>
            <td align="left">
            ชื่อร้านหรือสาขา :
            </td>
            <td align="left">
                <asp:TextBox ID="txtLocationName" runat="server"></asp:TextBox>
                <asp:Label ID="lblLocationName" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left">
               ที่อยู่และรายละเอียด :
            </td>
            <td align="left">
                <asp:TextBox ID="txtLocationDetail" runat="server"></asp:TextBox>
                <asp:Label ID="lblLocationDetail" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left">
            Latitude :
            </td>
            <td align="left">
                <asp:TextBox ID="txtLatitude" runat="server"></asp:TextBox>
                <asp:Label ID="lblLatitude" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="left">
                Longitude :</td>
            <td align="left">
                <asp:TextBox ID="txtLongitude" runat="server"></asp:TextBox>
                <asp:Label ID="lblLongitude" runat="server"></asp:Label>
            </td>
        </tr>
            <tr>
            <td align="center" colspan="2">
              <asp:Button runat="server" ID="btnSave" 
                text="บันทึก" onclick="btnSave_Click" />  
                <asp:Button runat="server" ID="btnClear" 
                Text="ล้างข้อมูล" onclick="btnClear_Click" />
                <asp:Button ID="btnBack" runat="server" Text="ย้อนกลับ" 
                    onclick="btnBack_Click" />
            </td>
        </tr>
        </table>
        </td>
      </tr>
      <tr>
      <td align ="center">
         <table border="0" cellpadding="0" cellspacing="0">
        <tr>
        <td>
            <asp:Label ID="lblMessage" runat="server"></asp:Label>
        </td>
        </tr>
        </table>
      </td>
      </tr>
    </table>
</asp:Content>
